/*
  封装token的操作
*/
const KEY = 'pc-token'
export function setToken (token) {
  localStorage.setItem(KEY, token)
}

export function getToken () {
  return localStorage.getItem(KEY)
}

export function removeToken () {
  localStorage.removeItem(KEY)
}
